home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #9
/
Amiga Plus CD - 2004 - No. 09.iso
/
amigaplus
/
tools
/
amigaos4_only
/
ifxlite
/
imagefx3
/
rexx
/
smear.ifx
< prev
next >
Wrap
Text File
|
2004-08-03
|
874b
|
45 lines
/*
* $VER: Smear 1.00.00 (24.9.92)
*
* Arexx program for the ImageFX image processing system.
* Written by Thomas Krehbiel
*
* Smear simulation, used in conjunction with StartWedge.ifx.
*
*/
OPTIONS RESULTS
PARSE ARG cmd x y .
IF x = 2 THEN DO
/* only for free draw */
GetPointList
PARSE VAR RESULT.AREA le te re be
le = le - 4
te = te - 4
width = re-le+1 + 4
height = be-te+1 + 4
EdgeMode Normal
Blend 50
SaveUndo le te width height
BeginBar 'Smearing' RESULT.0
LockGui ; LockInput ; Redraw Off
DO i = 1 TO RESULT.0-1
UnlockGui Quiet ; Bar i ; LockGui
j = i+1
PARSE VAR RESULT.i x y
PARSE VAR RESULT.j nextx nexty
Scissors
Oval x y 4 4
Point nextx nexty
END
KillBrush
UnlockInput ; UnlockGui
EndBar
Blend 100
Redraw On ; Redraw le te width height
END
EXIT